package com.daniel.design.principles.demo3.before;

/**
 * @ClassName XiJieHardDisk
 * @Description 希捷硬盘类
 * @Author Daniel
 * @Version V1.0.0
 */
public class XiJieHardDisk  {
    private String data;

    public void save(String data) {
        this.data = data;
        System.out.println("希捷硬盘保存数据：" + data);
    }

    public String read() {
        System.out.println("希捷硬盘读取数据：" + data);
        return data;
    }
}
